@nice2dev/ui 1.2.0 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (229) hide show
  1. package/CHANGELOG.md +150 -0
  2. package/dist/NiceApiExplorer.doc-CFJndg5h.js +25 -0
  3. package/dist/NiceApiExplorer.doc-TEx67kV5.cjs +1 -0
  4. package/dist/NiceBPMNDesigner.doc-6lK1pXRq.js +32 -0
  5. package/dist/NiceBPMNDesigner.doc-BY8t7qOi.cjs +8 -0
  6. package/dist/NiceBackupDiffViewer.doc-CYvOeX19.js +25 -0
  7. package/dist/NiceBackupDiffViewer.doc-ChQaZCg1.cjs +1 -0
  8. package/dist/NiceBackupList.doc-BdQCw0_D.cjs +1 -0
  9. package/dist/NiceBackupList.doc-BwjIAoqz.js +25 -0
  10. package/dist/NiceBackupRestoreDialog.doc-B2iiqTps.cjs +1 -0
  11. package/dist/NiceBackupRestoreDialog.doc-DuXSGJiD.js +25 -0
  12. package/dist/NiceBackupScheduler.doc-BpY45181.js +31 -0
  13. package/dist/NiceBackupScheduler.doc-ByeL3iH1.cjs +7 -0
  14. package/dist/NiceBackupStatusBadge.doc-BA3dYgiW.cjs +1 -0
  15. package/dist/NiceBackupStatusBadge.doc-CxwkVarP.js +25 -0
  16. package/dist/NiceBackupTagEditor.doc-Bej1KHco.cjs +7 -0
  17. package/dist/NiceBackupTagEditor.doc-CNy4uNws.js +31 -0
  18. package/dist/NiceBottomSheet.doc-keq-Fzlz.cjs +8 -0
  19. package/dist/NiceBottomSheet.doc-v-UPUKQk.js +32 -0
  20. package/dist/NiceBranchManager.doc-BTyRjX7X.cjs +6 -0
  21. package/dist/NiceBranchManager.doc-Cz4SyEqE.js +30 -0
  22. package/dist/NiceButton-3AcJJ15c.cjs +1 -0
  23. package/dist/NiceButton-vkI07DP0.js +88 -0
  24. package/dist/NiceCodeEditor-C43xFG8v.cjs +260 -0
  25. package/dist/NiceCodeEditor-CspuYLh6.js +1174 -0
  26. package/dist/NiceCodeEditor-VGIDWSkS.js +1181 -0
  27. package/dist/NiceCodeEditor-qX39PSnQ.cjs +260 -0
  28. package/dist/NiceColorPicker-CQhhjZ8w.cjs +1 -0
  29. package/dist/NiceColorPicker-Cbop7VMu.js +491 -0
  30. package/dist/NiceConnectorConfigForm.doc-BKrDuhXw.cjs +7 -0
  31. package/dist/NiceConnectorConfigForm.doc-BsHeXz3M.js +31 -0
  32. package/dist/NiceDataBranchGraph.doc-Axidz41W.js +29 -0
  33. package/dist/NiceDataBranchGraph.doc-sjLmrrtE.cjs +5 -0
  34. package/dist/NiceDataBranchManager.doc-B1-Rp2X4.cjs +6 -0
  35. package/dist/NiceDataBranchManager.doc-GUqfTFvW.js +30 -0
  36. package/dist/NiceDataConflictResolver.doc-CjQryrTu.cjs +5 -0
  37. package/dist/NiceDataConflictResolver.doc-L-TcnQMX.js +29 -0
  38. package/dist/NiceDataDiffViewer.doc-BzGrf0U-.cjs +6 -0
  39. package/dist/NiceDataDiffViewer.doc-goxhSldH.js +30 -0
  40. package/dist/NiceDataGrid-BDEIbuBS.js +2218 -0
  41. package/dist/NiceDataGrid-CS5aB-EN.cjs +10 -0
  42. package/dist/NiceDataGrid-CrD4HPlO.cjs +10 -0
  43. package/dist/NiceDataGrid-Dfg1DVbU.js +2224 -0
  44. package/dist/NiceDataMapper.doc-QmnmnvVq.js +30 -0
  45. package/dist/NiceDataMapper.doc-ytGVtYVr.cjs +6 -0
  46. package/dist/NiceDataMergeBuilder.doc-BcmzKxh2.cjs +6 -0
  47. package/dist/NiceDataMergeBuilder.doc-BvYa4aUJ.js +30 -0
  48. package/dist/NiceDataSnapshot.doc-C73K1biG.cjs +6 -0
  49. package/dist/NiceDataSnapshot.doc-hU7wnOzM.js +30 -0
  50. package/dist/NiceDesktopViews.doc-DJjYlyP2.cjs +1 -0
  51. package/dist/NiceDesktopViews.doc-ly-VUAJj.js +25 -0
  52. package/dist/NiceDeviceControlCard.doc-BZIo92-w.cjs +1 -0
  53. package/dist/NiceDeviceControlCard.doc-DIzZcW9L.js +25 -0
  54. package/dist/NiceDocumentViewer-B9VIVKyw.js +726 -0
  55. package/dist/NiceDocumentViewer-CDXAmPp7.cjs +180 -0
  56. package/dist/NiceDocumentationViewer.doc-BSNGa7a_.js +25 -0
  57. package/dist/NiceDocumentationViewer.doc-CrwlvPFg.cjs +1 -0
  58. package/dist/NiceEnergyChart.doc-DW-jllDV.cjs +1 -0
  59. package/dist/NiceEnergyChart.doc-DnEehTff.js +25 -0
  60. package/dist/NiceFeatureGate.doc-DN17uS_B.cjs +3 -0
  61. package/dist/NiceFeatureGate.doc-DNfFSRrh.js +27 -0
  62. package/dist/NiceForm-BcN4p2kG.cjs +1 -0
  63. package/dist/NiceForm-CISJyzoW.cjs +1 -0
  64. package/dist/NiceForm-DmH6k1b_.js +4775 -0
  65. package/dist/NiceForm-tIXS-M6b.js +4770 -0
  66. package/dist/NiceFormItem.doc-BJwEnDz2.js +36 -0
  67. package/dist/NiceFormItem.doc-Ck3PgaPD.cjs +12 -0
  68. package/dist/NiceGantt-CHnq-n8f.cjs +1 -0
  69. package/dist/NiceGantt-CTbqCuwv.cjs +1 -0
  70. package/dist/NiceGantt-CX3jVNaF.js +330 -0
  71. package/dist/NiceGantt-Dao7pN9z.js +328 -0
  72. package/dist/NiceGantt.doc-B6YZcJvG.cjs +11 -0
  73. package/dist/NiceGantt.doc-DsI1QXly.js +48 -0
  74. package/dist/NiceGitBlame.doc-BQ2KvGkD.js +30 -0
  75. package/dist/NiceGitBlame.doc-DuTSjZVN.cjs +6 -0
  76. package/dist/NiceGitDiffViewer.doc-D24AGos_.js +30 -0
  77. package/dist/NiceGitDiffViewer.doc-D9FVquBC.cjs +6 -0
  78. package/dist/NiceGitGraph.doc-C-8VGMIz.js +29 -0
  79. package/dist/NiceGitGraph.doc-eRvTmefl.cjs +5 -0
  80. package/dist/NiceGitHooks.doc-DCTVw7HX.cjs +5 -0
  81. package/dist/NiceGitHooks.doc-OCFj5w6v.js +29 -0
  82. package/dist/NiceHtmlEditor-DUwcqj5N.cjs +10 -0
  83. package/dist/NiceHtmlEditor-DeK0Of98.js +883 -0
  84. package/dist/NiceHtmlEditor-DiAphF1k.js +889 -0
  85. package/dist/NiceHtmlEditor-DvVxl4Fu.cjs +10 -0
  86. package/dist/NiceInstanceMonitor.doc-BSDZp5xa.js +31 -0
  87. package/dist/NiceInstanceMonitor.doc-HVbLufnh.cjs +7 -0
  88. package/dist/NiceLocaleManager.doc-CbVHDEWu.js +25 -0
  89. package/dist/NiceLocaleManager.doc-XH6hMW0Z.cjs +1 -0
  90. package/dist/NiceLockButton.doc-BMhSj3TB.cjs +1 -0
  91. package/dist/NiceLockButton.doc-DvHGhcfm.js +25 -0
  92. package/dist/NiceLoginForm-CHXbz0eu.js +747 -0
  93. package/dist/NiceLoginForm-DQe77Isv.js +747 -0
  94. package/dist/NiceLoginForm-NBCo-DUZ.cjs +1 -0
  95. package/dist/NiceLoginForm-ix6J1adA.cjs +1 -0
  96. package/dist/NiceLoginForm.css +1 -1
  97. package/dist/NiceMAM.doc-CsQ57saR.cjs +8 -0
  98. package/dist/NiceMAM.doc-hjW7buTH.js +32 -0
  99. package/dist/NiceMention--3P3vO-W.cjs +430 -0
  100. package/dist/NiceMention-Co2cqkVM.js +11316 -0
  101. package/dist/NiceMention-DKhk3xdM.js +11321 -0
  102. package/dist/NiceMention-wp1AJ5oh.cjs +430 -0
  103. package/dist/NiceMention.css +1 -1
  104. package/dist/NiceModal-BbQwiEOp.cjs +1 -0
  105. package/dist/NiceModal-DQEfTcnZ.js +85 -0
  106. package/dist/NiceModuleLifecyclePanel-22CEEVbA.cjs +1 -0
  107. package/dist/NiceModuleLifecyclePanel-BCd9Wv5Y.js +6825 -0
  108. package/dist/NiceModuleLifecyclePanel-DV3F_QdI.cjs +1 -0
  109. package/dist/NiceModuleLifecyclePanel-gaZkIEtK.js +6825 -0
  110. package/dist/NiceModuleLifecyclePanel.css +1 -1
  111. package/dist/NiceNetworkDiscoveryPanel.doc-B0RtGaS3.js +25 -0
  112. package/dist/NiceNetworkDiscoveryPanel.doc-BFgFZI5G.cjs +1 -0
  113. package/dist/NicePagination-B3nZDZem.js +165 -0
  114. package/dist/NicePagination-B8rg1Y67.cjs +1 -0
  115. package/dist/NicePagination-BFGt1v0a.js +165 -0
  116. package/dist/NicePagination-DltL3-Sz.cjs +1 -0
  117. package/dist/NicePipelineEditor.doc-CjqDKe2x.js +29 -0
  118. package/dist/NicePipelineEditor.doc-DZ0pTVTp.cjs +5 -0
  119. package/dist/NicePipelineMonitor.doc-C88-TagI.cjs +5 -0
  120. package/dist/NicePipelineMonitor.doc-CFtH4XJx.js +29 -0
  121. package/dist/NicePivotGrid-BD87Na7P.js +1163 -0
  122. package/dist/NicePivotGrid-BPmnvbPQ.cjs +152 -0
  123. package/dist/NicePivotGrid-BaZa2YZW.js +1157 -0
  124. package/dist/NicePivotGrid-DyOPhPO8.cjs +152 -0
  125. package/dist/NiceRoomGrid.doc-DJPVUQVg.cjs +8 -0
  126. package/dist/NiceRoomGrid.doc-DLHJS_Wb.js +32 -0
  127. package/dist/NiceSavedQueryPanel-BC84uRfh.cjs +586 -0
  128. package/dist/NiceSavedQueryPanel-BSTiZvFg.js +5130 -0
  129. package/dist/NiceSavedQueryPanel-CMfcODIO.js +5120 -0
  130. package/dist/NiceSavedQueryPanel-DrR3sw4T.cjs +586 -0
  131. package/dist/NiceSavedQueryPanel.css +1 -1
  132. package/dist/NiceSceneBar.doc-09sc3yuF.cjs +1 -0
  133. package/dist/NiceSceneBar.doc-DLePMuVU.js +25 -0
  134. package/dist/NiceSceneSelector.doc-CPzCAy-d.cjs +7 -0
  135. package/dist/NiceSceneSelector.doc-FCLZvPc0.js +31 -0
  136. package/dist/NiceScheduler-BAJRzFQN.js +1690 -0
  137. package/dist/NiceScheduler-DvxJ8N0I.js +1698 -0
  138. package/dist/NiceScheduler-TIksdF0k.cjs +5 -0
  139. package/dist/NiceScheduler-dJ7gHDv7.cjs +5 -0
  140. package/dist/NiceSchedulerViews.doc-C9opZpgg.cjs +1 -0
  141. package/dist/NiceSchedulerViews.doc-Dy7ZH1iL.js +25 -0
  142. package/dist/NiceSelect-CZR8Zu_k.js +420 -0
  143. package/dist/NiceSelect-DIKGbaJo.cjs +1 -0
  144. package/dist/NiceSensorGaugePanel.doc-BHirbWLn.cjs +8 -0
  145. package/dist/NiceSensorGaugePanel.doc-DjKmooI6.js +32 -0
  146. package/dist/NiceSpotlight.doc-BVZFfDVI.cjs +10 -0
  147. package/dist/NiceSpotlight.doc-JqwkzrEm.js +34 -0
  148. package/dist/NiceStateDesigner.doc-CfnwiwfU.js +29 -0
  149. package/dist/NiceStateDesigner.doc-DV4zEC50.cjs +5 -0
  150. package/dist/NiceStepper.doc-5VjaLM6r.js +31 -0
  151. package/dist/NiceStepper.doc-f8lYpr33.cjs +7 -0
  152. package/dist/NiceTaskInbox.doc-CHrxthqp.js +32 -0
  153. package/dist/NiceTaskInbox.doc-CdCTfgBq.cjs +8 -0
  154. package/dist/NiceTestBuilder.doc-BoBzLfa0.js +30 -0
  155. package/dist/NiceTestBuilder.doc-Cj1fNTvk.cjs +6 -0
  156. package/dist/NiceTranscoder.doc-Dnirl3wg.cjs +7 -0
  157. package/dist/NiceTranscoder.doc-cInCYZh7.js +31 -0
  158. package/dist/NiceVideoAnnotator.doc-C1iEi7OM.cjs +7 -0
  159. package/dist/NiceVideoAnnotator.doc-C8zyfKH_.js +31 -0
  160. package/dist/NiceVideoEditor.doc-C6mhEb-q.cjs +7 -0
  161. package/dist/NiceVideoEditor.doc-lrwmKjqj.js +31 -0
  162. package/dist/NiceWindow-CWN8OCHF.js +2109 -0
  163. package/dist/NiceWindow-Dd8qjkIW.cjs +1 -0
  164. package/dist/NiceWindow.css +1 -1
  165. package/dist/charts-Bo2WAI5T.cjs +768 -0
  166. package/dist/charts-BpELGDXh.cjs +768 -0
  167. package/dist/charts-ByrdMeQP.js +4767 -0
  168. package/dist/charts-M6LuVI7F.js +4776 -0
  169. package/dist/charts.cjs +1 -1
  170. package/dist/charts.css +1 -1
  171. package/dist/charts.d.ts +28 -46
  172. package/dist/charts.mjs +1 -1
  173. package/dist/core-B8eBUE4m.js +438 -0
  174. package/dist/core-lBFqvT0V.cjs +1 -0
  175. package/dist/core-lazy-Bh2yg4Et.js +351 -0
  176. package/dist/core-lazy-CkWKjfc6.cjs +1 -0
  177. package/dist/core-lazy-Ctin_LwS.cjs +1 -0
  178. package/dist/core-lazy-iDiropM6.js +351 -0
  179. package/dist/data-branching-BgIAw01q.cjs +1 -0
  180. package/dist/data-branching-Dak1_ZKR.cjs +1 -0
  181. package/dist/data-branching-DiLAO4Qt.js +6386 -0
  182. package/dist/data-branching-bvB9K6KS.js +6386 -0
  183. package/dist/data-branching.cjs +1 -1
  184. package/dist/data-branching.mjs +1 -1
  185. package/dist/data.cjs +1 -1
  186. package/dist/data.d.ts +22 -18
  187. package/dist/data.mjs +3 -3
  188. package/dist/devops-Bp-_aA-9.js +8682 -0
  189. package/dist/devops-CXBSjnyX.cjs +17 -0
  190. package/dist/devops-DkVluHBp.cjs +17 -0
  191. package/dist/devops-zsMUueTd.js +8648 -0
  192. package/dist/devops.cjs +1 -1
  193. package/dist/devops.d.ts +3 -3
  194. package/dist/devops.mjs +1 -1
  195. package/dist/editors.cjs +1 -1
  196. package/dist/editors.d.ts +100 -38
  197. package/dist/editors.mjs +8 -8
  198. package/dist/feedback.cjs +1 -1
  199. package/dist/feedback.d.ts +71 -2
  200. package/dist/feedback.mjs +10 -9
  201. package/dist/index.cjs +263 -263
  202. package/dist/index.css +1 -1
  203. package/dist/index.d.ts +641 -253
  204. package/dist/index.mjs +26438 -26260
  205. package/dist/injectStyleOnce-BzC_BCs_.js +9 -0
  206. package/dist/injectStyleOnce-DeWaxcdf.cjs +1 -0
  207. package/dist/lazy.cjs +1 -1
  208. package/dist/lazy.d.ts +9 -7
  209. package/dist/lazy.mjs +51 -51
  210. package/dist/navigation.cjs +1 -1
  211. package/dist/navigation.css +1 -0
  212. package/dist/navigation.d.ts +99 -43
  213. package/dist/navigation.mjs +504 -547
  214. package/dist/no-code-BNFk_BDO.js +8275 -0
  215. package/dist/no-code-CFdTp543.cjs +331 -0
  216. package/dist/no-code-DiTEnuRv.js +8288 -0
  217. package/dist/no-code-wG9c0z_T.cjs +331 -0
  218. package/dist/no-code.cjs +1 -1
  219. package/dist/no-code.css +1 -1
  220. package/dist/no-code.mjs +1 -1
  221. package/dist/overlays.cjs +1 -1
  222. package/dist/overlays.d.ts +12 -6
  223. package/dist/overlays.mjs +1 -1
  224. package/dist/pickerCommons-BCRiHDE_.cjs +1 -0
  225. package/dist/pickerCommons-CMxFt9SW.js +548 -0
  226. package/dist/pickerCommons-Dc_hlz-e.cjs +1 -0
  227. package/dist/pickerCommons-DkumQ3KE.js +548 -0
  228. package/dist/style.css +12 -9
  229. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,155 @@
1
1
  # [1.0.27] — 2026-06-07
2
2
 
3
+ ## 1.2.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 06eb0d2: 1.2.2 — library texts through the translator, a translator in the packages that had none, and the
8
+ end of the hook-dependency warnings. Nothing removed or renamed. Upgrade notes:
9
+ `documentation/omniverk/OMNIVERK_UPGRADE_1.2.2.md`.
10
+
11
+ **Translations.** 2,825 new keys in the global dictionary (en, pl, de, fr, es, uk), 80 in the local
12
+ dictionaries of ui-math, ui-diagrams and ui-presentations: column headers, option labels, texts in
13
+ conditions and templates, messages given to setters, labels returned by helpers, Polish texts that
14
+ were the English default. Relative dates through `Intl.RelativeTimeFormat`, plural forms through
15
+ `…One` / `…Many` keys. ui-science, ui-platform, ui-mobile, auth, licensing, templates, social and
16
+ the icon tools translate through `useNiceTranslation` (new peer `@nice2dev/ui-core ^1.2.0`);
17
+ ui-security reads the global translator when its own provider is absent.
18
+
19
+ **Additions.** `labelKey` on ui-mobile `TabItem` and `SwipeAction` (the presets set it);
20
+ `registerWebAuthn` / `authenticateWebAuthn` take the WebAuthn options `NiceWebAuthnButton` used to
21
+ drop (defaults unchanged); `NiceKeyboardHint` shows `descriptionKey`. Eight icons in
22
+ `@nice2dev/icons` — `NtdPoint`, `NtdSegment`, `NtdPerpendicular`, `NtdParallel`, `NtdMidpoint`,
23
+ `NtdAngleBisector`, `NtdGroup`, `NtdUngroup` — and the same names as `NiceIcon` built-ins.
24
+
25
+ **Behaviour changes, agreed.** ui-math, ui-diagrams and ui-presentations follow the app's global
26
+ `NiceI18nProvider` language when their own provider is absent (they stayed English);
27
+ `NicePresentationEditor` without `lang` takes the surrounding language. Icons drawn as glyphs are
28
+ Nice icons: the `NiceGeometry` tools, Align / Group / Ungroup / Layout of the diagram toolbar, the
29
+ presentation grid toggle, zoom and "Add Track" of `NiceDMXTimeline`. icons-gaming and
30
+ icons-filetypes name an icon by its `title` and are decorative without one, like `createIcon`
31
+ (screen readers read "GiHeart" or "DOCX file icon"); new optional `title` on the gaming icon props.
32
+
33
+ **Hook dependencies (161 → 0).** Fixed along the way: `NiceLowPowerMode` re-rendered forever from
34
+ mount and overflowed the stack on wake; `GenericPlayer` / `NiceGenericPlayerStage` restarted the
35
+ track on a volume change; `NiceDMXTimeline` called `onPlay` on every frame and missed cues added
36
+ during playback; `NiceConflictResolution` `autoResolve` never resolved; `NiceMAM` selected by the
37
+ previous filter; `NiceRulesEngine` "Run All" kept only the last result; `NiceCodeEditor` saved with
38
+ the first render's `onSave`; a consumer's cursor handler switched off `NiceCodeEditorAI`
39
+ completion; `useRadioStream` lost a volume set before the first play; `NiceGameEditor` shortcuts,
40
+ `useVoiceControl` continuous sessions, `NiceDeviceTrust` with a host storing the score.
41
+
42
+ - Updated dependencies [06eb0d2]
43
+ - @nice2dev/i18n@1.2.2
44
+ - @nice2dev/ui-core@1.2.2
45
+
46
+ ## 1.2.1
47
+
48
+ ### Patch Changes
49
+
50
+ - 8c82c30: 1.2.1 — the decisions that waited since 1.2.0, and the debts the CI gates were holding. One API
51
+ change, agreed: `NiceIconSuggestorAI` suggests Nice icons only. Two stylesheets to import if you use
52
+ the packages: `@nice2dev/social/style.css`, `@nice2dev/ui-science/style.css`. Upgrade notes:
53
+ `documentation/omniverk/OMNIVERK_UPGRADE_1.2.1.md`.
54
+
55
+ **Tree-shaking.** An import from a package no longer brings the whole package. Module-level
56
+ statements that may have a side effect — a `displayName` assigned after each component (now
57
+ `Object.assign` inside `/* @__PURE__ */`, or under a development check for plain functions),
58
+ unannotated `forwardRef` / `memo` / `createContext` / icon-factory calls, spreads, registries filled
59
+ at import, `<style>` tags injected at import, a direct `eval` in ui-math — are gone. One import from
60
+ each of 53 packages: 5066.5 kB → 1171.6 kB (`@nice2dev/ui` 1928.2 kB → 12.9 kB, icon packs 48–275 kB
61
+ → 1.6–2.6 kB). `defaultViewRegistry` has the Nice\* input controls from the start, each loading its
62
+ module on first render; sixteen controls add their styles to `<head>` on first render.
63
+
64
+ **Dead code.** 405 source files no entry point imported (never on npm) are deleted;
65
+ `NiceClipboardStack` (`@nice2dev/ui`) and `NiceSampleBrowser` (`@nice2dev/ui-audio`), finished and
66
+ documented, are exported.
67
+
68
+ **ui-mobile draws Nice icons.** New peer `@nice2dev/icons ^1.2.0`; `TabIcons`, `DrawerIcons`,
69
+ `HeaderIcons`, the `NiceSwipeActions` presets and the `NiceInfiniteScroll` states are `Ntd*` icons
70
+ instead of pasted `<svg>`, simple glyphs are CSS marks. `@nice2dev/icons` adds `NtdReply` and
71
+ `NtdInbox`; an icon no longer throws without `window.matchMedia`.
72
+
73
+ **`NiceIconSuggestorAI` (breaking, agreed).** `AIIconLibrary` is `'nice'`; `svgPath` and `unicode`
74
+ left `AISuggestedIcon`; the preview is a `<NiceIcon>`, "Copy SVG" is "Copy JSX".
75
+
76
+ **Peer ranges.** Every internal `@nice2dev/*` peer is `^1.2.0` (was as wide as `^1.0.20`), except
77
+ `@nice2dev/icons ^1.2.1` where a package draws an icon new in 1.2.1: ui-mobile (`NtdReply`,
78
+ `NtdInbox`), ui-audio (`NtdMicrophoneOff`) and ui-security (`NtdBackspace`). ui-security, licensing
79
+ (`^1.2.0`) and templates (`^1.2.0`) gain the `@nice2dev/icons` peer: their glyph icons (`⌫`, `←`,
80
+ `→`, `↑`, `↓`) are Nice icons now. `@nice2dev/icons` adds `NtdBackspace`.
81
+
82
+ **Class names inside components.** 834 class names in library stylesheets had no `nice-` prefix
83
+ (`.tab-button`, `.status-badge`, `.selected`, …) and styled every element of that name on the page.
84
+ They follow `nice-{block}__{element}--{modifier}` now — no change on screen. The class theme hooks
85
+ next to `[data-theme]` on seven controls (`dark` on the AI chart / data grid / code and HTML
86
+ editors / form builder, `light-theme` on `NiceMAM` and `NiceVideoAnnotator`) are `nice-dark` /
87
+ `nice-light`; `NiceLowPowerMode` marks `<html>` with `nice-lpm-no-animations` /
88
+ `nice-lpm-reduced-quality`; the `NiceVideoEditor` of `@nice2dev/ui-video` styles its elements under
89
+ `nice-video-studio`, so they no longer collide with the `NiceVideoEditor` of `@nice2dev/ui`.
90
+ Rules for classes nothing rendered are gone, among them the stylesheet of `NiceGanttChart`, which
91
+ left ui-erp in 1.0.10.
92
+
93
+ **Translations.** About 3,400 UI texts in 32 packages were hard-coded; they go through `t()` now,
94
+ with the English text unchanged and pl / de / fr / es / uk in `@nice2dev/i18n` (ui-diagrams,
95
+ ui-presentations and ui-math in their own dictionaries). In `@nice2dev/events` and
96
+ `@nice2dev/admin` that includes column headers, option labels and the statuses and roles they used
97
+ to print raw (`checked-in`, `no-show`) — English labels for those come from the dictionary. ui-3d and ui-graphics read the app's
98
+ global translator, as ui-audio does since 1.2.0 — their own provider overrides it. ui-audio's
99
+ controls used 631 keys the dictionary did not have (English in every language), and the radio
100
+ player showed raw keys (`search_stations`). Texts that were hard-coded **in Polish** — in
101
+ `NiceSidebarNav`, `NiceNetworkDiscoveryPanel`, the backup and smart-home controls,
102
+ `NiceSavedQueryPanel`, `NiceNotificationPreferences`, the ui-buildings panels, the ui-printing
103
+ template editor and the photo editor — default to English now; Polish is in the dictionary. English
104
+ plurals glued on (`result{s}`) are two keys. `presentationsTranslator(lang)` (ui-presentations)
105
+ translates outside its provider.
106
+
107
+ **List props are optional.** 170 list props (`items`, `columns`, `data`, …) in 15 packages that
108
+ were required without a default are optional, with a stable empty default; every one of those
109
+ controls mounts without data (tested). `NiceStockChart` without data no longer computes NaN
110
+ coordinates.
111
+
112
+ **Unstyled components get stylesheets.** 98 components rendered class names no stylesheet had —
113
+ admin panels, auth forms, events rounds and pickers, the ERP invoice / purchase order / VAT table /
114
+ HR dashboard, the radio player, `NiceInbox`, PWA prompts, `NiceViewRenderer`, shells, smart-home,
115
+ … The fixed layout that sat in inline style objects is in classes now, so an app can override it;
116
+ values that depend on data stay inline. **`@nice2dev/social` and `@nice2dev/ui-science` ship a
117
+ stylesheet — import `@nice2dev/social/style.css` / `@nice2dev/ui-science/style.css`.** ui-science's
118
+ `sideEffects` is `["*.css"]`. Colours, spacing and radii in every stylesheet come from theme tokens
119
+ (visible in dark themes: `NiceRecipe` difficulty badges, transcoder states, warehouse heat map).
120
+
121
+ **Icons only from Nice.** About 130 glyphs (`×`, `→`, `↑`) and 100 pasted `<svg>` used as icons
122
+ are Nice icons; 11 `<svg>` stay as the control's own graphic (logos, spinners, checkbox mark). `NiceIcon`
123
+ gains `pin`, `mic-off`, `log-out`, `chevrons-left`, `chevrons-right`, `zoom-in`, `zoom-out`,
124
+ `navigation`, `refresh-ccw`, `minimize` and `smartphone`; `@nice2dev/icons` gains
125
+ `NtdMicrophoneOff`. The `icon` fields of the module, menu, tab, mode, quick-action, scene and admin
126
+ widget DTOs, notification channels and view toolbar items are rendered through `NiceIcon` — they
127
+ used to be printed as text. `NiceRatings` `thumbs` draws shapes instead of emoji.
128
+
129
+ **Dialogs instead of `window.prompt` / `confirm` / `alert`.** New `useNiceDialogs()` — `prompt`,
130
+ `confirm` and `alert` as promises on `NicePromptDialog` / `NiceConfirmDialog` — and
131
+ `NiceConfirmDialog.showReject`. Seventeen controls asked through the browser's blocking dialogs and
132
+ use the library's now (`NiceFileManager`, `NiceHtmlEditor`, `NiceViewRenderer` action `confirm`, the 3D,
133
+ vector and pixel editors, …). Keys pressed in `NicePromptDialog` / `NiceConfirmDialog` no longer
134
+ reach the page's shortcuts (Escape still closes them), and `NicePromptDialog`'s backdrop covers the
135
+ whole viewport.
136
+
137
+ **Smaller fixes.** `NiceFileManager.items` is optional. `NiceMLStudio` status badges: `draft`,
138
+ `registered`, `archived`, `cancelled` get a neutral colour, deploying / stopped deployments theirs.
139
+ Component docs (`doc.json`) list only props the components have. `NiceMobileTabs`: tabs beyond
140
+ `maxTabs` open from "More" (it only logged). `NiceInventoryManager`: new `onCreatePurchaseOrder`;
141
+ without it the "Create PO" button is gone (it only logged). Keyboard: `NiceNavShell` tabs follow the
142
+ WAI-ARIA tabs pattern, clickable `NiceDeviceTile` / `NiceCardGroup` cards and animated icons with
143
+ `trigger="click"` are focusable. ui-math: `CalculatorService.evaluate` parses instead of running
144
+ `new Function` (`asin`, `sinh`, `ceil`, exponents and `angleUnit` were wrong); `ExpressionParser`
145
+ takes `functions`, `constants`, `ignoreCase` and `strict`, multiplies implicitly (`2x`) and reads `^`
146
+ right to left. `InvoiceLine.vatRate` and `VatRate.rate` are documented as fractions (0.23).
147
+ `AmqpServerBinding` is `Record<string, never>`.
148
+
149
+ - Updated dependencies [8c82c30]
150
+ - @nice2dev/i18n@1.2.1
151
+ - @nice2dev/ui-core@1.2.1
152
+
3
153
  ## 1.2.0
4
154
 
5
155
  ### Minor Changes
@@ -0,0 +1,25 @@
1
+ const e = "https://nice2dev.com/schemas/component-doc-v1.json", o = "NiceApiExplorer", c = "API documentation explorer component.", s = "display", t = "1.0.0", n = "stable", i = [{ name: "spec", type: "OpenAPISpec | string", required: !0, description: "OpenAPI specification" }, { name: "baseUrl", type: "string", description: "API base URL" }], p = [{ title: "API Explorer", code: '<NiceApiExplorer spec={openApiSpec} baseUrl="/api" />' }], a = { keyboard: ["Tab to navigate"], aria: ["Navigation role"] }, r = ["NiceDocumentationViewer", "NiceConsole"], l = {
2
+ $schema: e,
3
+ name: o,
4
+ description: c,
5
+ category: s,
6
+ since: t,
7
+ status: n,
8
+ props: i,
9
+ examples: p,
10
+ accessibility: a,
11
+ seeAlso: r
12
+ };
13
+ export {
14
+ e as $schema,
15
+ a as accessibility,
16
+ s as category,
17
+ l as default,
18
+ c as description,
19
+ p as examples,
20
+ o as name,
21
+ i as props,
22
+ r as seeAlso,
23
+ t as since,
24
+ n as status
25
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",s="NiceApiExplorer",o="API documentation explorer component.",t="display",c="1.0.0",i="stable",n=[{name:"spec",type:"OpenAPISpec | string",required:!0,description:"OpenAPI specification"},{name:"baseUrl",type:"string",description:"API base URL"}],a=[{title:"API Explorer",code:'<NiceApiExplorer spec={openApiSpec} baseUrl="/api" />'}],p={keyboard:["Tab to navigate"],aria:["Navigation role"]},r=["NiceDocumentationViewer","NiceConsole"],l={$schema:e,name:s,description:o,category:t,since:c,status:i,props:n,examples:a,accessibility:p,seeAlso:r};exports.$schema=e;exports.accessibility=p;exports.category=t;exports.default=l;exports.description=o;exports.examples=a;exports.name=s;exports.props=n;exports.seeAlso=r;exports.since=c;exports.status=i;
@@ -0,0 +1,32 @@
1
+ const e = "https://nice2dev.com/schemas/component-doc-v1.json", o = "NiceBPMNDesigner", n = "BPMN 2.0 workflow designer with visual process modeling capabilities.", t = "workflow", s = "1.0.0", a = "stable", i = [{ name: "value", type: "BPMNDocument", description: "BPMN diagram" }, { name: "onChange", type: "(doc: BPMNDocument) => void", description: "Change callback" }, { name: "palette", type: "BPMNElement[]", description: "Element palette" }, { name: "readOnly", type: "boolean", default: "false", description: "Read-only mode" }, { name: "showMinimap", type: "boolean", default: "true", description: "Show minimap" }, { name: "showProperties", type: "boolean", default: "true", description: "Show properties panel" }, { name: "onValidate", type: "(errors: ValidationError[]) => void", description: "Validation callback" }, { name: "exportFormats", type: "string[]", default: "['bpmn', 'svg', 'png']", description: "Export formats" }], r = [{ title: "BPMN Designer", description: "Design workflow process", code: `<NiceBPMNDesigner
2
+ value={workflow}
3
+ onChange={setWorkflow}
4
+ showMinimap
5
+ showProperties
6
+ onValidate={(e) => setErrors(e)}
7
+ exportFormats={['bpmn', 'svg']}
8
+ />` }], c = { keyboard: ["Tab through elements", "Delete to remove", "Arrow keys to move"], aria: ["Canvas with element descriptions"] }, p = ["NiceTaskInbox", "NiceInstanceMonitor"], l = {
9
+ $schema: e,
10
+ name: o,
11
+ description: n,
12
+ category: t,
13
+ since: s,
14
+ status: a,
15
+ props: i,
16
+ examples: r,
17
+ accessibility: c,
18
+ seeAlso: p
19
+ };
20
+ export {
21
+ e as $schema,
22
+ c as accessibility,
23
+ t as category,
24
+ l as default,
25
+ n as description,
26
+ r as examples,
27
+ o as name,
28
+ i as props,
29
+ p as seeAlso,
30
+ s as since,
31
+ a as status
32
+ };
@@ -0,0 +1,8 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",o="NiceBPMNDesigner",t="BPMN 2.0 workflow designer with visual process modeling capabilities.",n="workflow",s="1.0.0",i="stable",a=[{name:"value",type:"BPMNDocument",description:"BPMN diagram"},{name:"onChange",type:"(doc: BPMNDocument) => void",description:"Change callback"},{name:"palette",type:"BPMNElement[]",description:"Element palette"},{name:"readOnly",type:"boolean",default:"false",description:"Read-only mode"},{name:"showMinimap",type:"boolean",default:"true",description:"Show minimap"},{name:"showProperties",type:"boolean",default:"true",description:"Show properties panel"},{name:"onValidate",type:"(errors: ValidationError[]) => void",description:"Validation callback"},{name:"exportFormats",type:"string[]",default:"['bpmn', 'svg', 'png']",description:"Export formats"}],r=[{title:"BPMN Designer",description:"Design workflow process",code:`<NiceBPMNDesigner
2
+ value={workflow}
3
+ onChange={setWorkflow}
4
+ showMinimap
5
+ showProperties
6
+ onValidate={(e) => setErrors(e)}
7
+ exportFormats={['bpmn', 'svg']}
8
+ />`}],c={keyboard:["Tab through elements","Delete to remove","Arrow keys to move"],aria:["Canvas with element descriptions"]},l=["NiceTaskInbox","NiceInstanceMonitor"],p={$schema:e,name:o,description:t,category:n,since:s,status:i,props:a,examples:r,accessibility:c,seeAlso:l};exports.$schema=e;exports.accessibility=c;exports.category=n;exports.default=p;exports.description=t;exports.examples=r;exports.name=o;exports.props=a;exports.seeAlso=l;exports.since=s;exports.status=i;
@@ -0,0 +1,25 @@
1
+ const e = "https://nice2dev.com/schemas/component-doc-v1.json", i = "NiceBackupDiffViewer", c = "Backup diff comparison viewer.", t = "display", s = "1.0.0", o = "stable", n = [{ name: "original", type: "BackupSnapshot", required: !0, description: "Original snapshot" }, { name: "current", type: "BackupSnapshot", required: !0, description: "Current snapshot" }], r = [{ title: "Diff Viewer", code: "<NiceBackupDiffViewer original={original} current={current} />" }], a = { keyboard: [], aria: ["Diff description"] }, p = ["NiceBackupList", "NiceConflictResolution"], u = {
2
+ $schema: e,
3
+ name: i,
4
+ description: c,
5
+ category: t,
6
+ since: s,
7
+ status: o,
8
+ props: n,
9
+ examples: r,
10
+ accessibility: a,
11
+ seeAlso: p
12
+ };
13
+ export {
14
+ e as $schema,
15
+ a as accessibility,
16
+ t as category,
17
+ u as default,
18
+ c as description,
19
+ r as examples,
20
+ i as name,
21
+ n as props,
22
+ p as seeAlso,
23
+ s as since,
24
+ o as status
25
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",i="NiceBackupDiffViewer",s="Backup diff comparison viewer.",c="display",t="1.0.0",o="stable",n=[{name:"original",type:"BackupSnapshot",required:!0,description:"Original snapshot"},{name:"current",type:"BackupSnapshot",required:!0,description:"Current snapshot"}],a=[{title:"Diff Viewer",code:"<NiceBackupDiffViewer original={original} current={current} />"}],r={keyboard:[],aria:["Diff description"]},p=["NiceBackupList","NiceConflictResolution"],u={$schema:e,name:i,description:s,category:c,since:t,status:o,props:n,examples:a,accessibility:r,seeAlso:p};exports.$schema=e;exports.accessibility=r;exports.category=c;exports.default=u;exports.description=s;exports.examples=a;exports.name=i;exports.props=n;exports.seeAlso=p;exports.since=t;exports.status=o;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",s="NiceBackupList",c="Backup history list component.",t="display",o="1.0.0",a="stable",i=[{name:"onRestore",type:"(backup: Backup) => void",description:"Restore callback"},{name:"onDelete",type:"(backup: Backup) => void",description:"Delete callback"}],n=[{title:"Backup List",code:"<NiceBackupList backups={backups} onRestore={handleRestore} />"}],p={keyboard:["Arrow keys"],aria:["List role"]},l=["NiceBackupRestoreDialog","NiceDataList"],r={$schema:e,name:s,description:c,category:t,since:o,status:a,props:i,examples:n,accessibility:p,seeAlso:l};exports.$schema=e;exports.accessibility=p;exports.category=t;exports.default=r;exports.description=c;exports.examples=n;exports.name=s;exports.props=i;exports.seeAlso=l;exports.since=o;exports.status=a;
@@ -0,0 +1,25 @@
1
+ const e = "https://nice2dev.com/schemas/component-doc-v1.json", c = "NiceBackupList", s = "Backup history list component.", t = "display", o = "1.0.0", a = "stable", i = [{ name: "onRestore", type: "(backup: Backup) => void", description: "Restore callback" }, { name: "onDelete", type: "(backup: Backup) => void", description: "Delete callback" }], n = [{ title: "Backup List", code: "<NiceBackupList backups={backups} onRestore={handleRestore} />" }], p = { keyboard: ["Arrow keys"], aria: ["List role"] }, l = ["NiceBackupRestoreDialog", "NiceDataList"], r = {
2
+ $schema: e,
3
+ name: c,
4
+ description: s,
5
+ category: t,
6
+ since: o,
7
+ status: a,
8
+ props: i,
9
+ examples: n,
10
+ accessibility: p,
11
+ seeAlso: l
12
+ };
13
+ export {
14
+ e as $schema,
15
+ p as accessibility,
16
+ t as category,
17
+ r as default,
18
+ s as description,
19
+ n as examples,
20
+ c as name,
21
+ i as props,
22
+ l as seeAlso,
23
+ o as since,
24
+ a as status
25
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",o="NiceBackupRestoreDialog",c="Backup restore confirmation dialog.",s="overlay",t="1.0.0",a="stable",i=[{name:"open",type:"boolean",required:!0,description:"Dialog open state"},{name:"onConfirm",type:"() => void",description:"Confirm callback"},{name:"onCancel",type:"() => void",description:"Cancel callback"}],n=[{title:"Restore Dialog",code:"<NiceBackupRestoreDialog open={open} backup={backup} onConfirm={restore} />"}],r={keyboard:["Escape to close"],aria:["Dialog role"]},l=["NiceConfirmDialog","NiceBackupList"],p={$schema:e,name:o,description:c,category:s,since:t,status:a,props:i,examples:n,accessibility:r,seeAlso:l};exports.$schema=e;exports.accessibility=r;exports.category=s;exports.default=p;exports.description=c;exports.examples=n;exports.name=o;exports.props=i;exports.seeAlso=l;exports.since=t;exports.status=a;
@@ -0,0 +1,25 @@
1
+ const o = "https://nice2dev.com/schemas/component-doc-v1.json", e = "NiceBackupRestoreDialog", c = "Backup restore confirmation dialog.", a = "overlay", t = "1.0.0", s = "stable", n = [{ name: "open", type: "boolean", required: !0, description: "Dialog open state" }, { name: "onConfirm", type: "() => void", description: "Confirm callback" }, { name: "onCancel", type: "() => void", description: "Cancel callback" }], i = [{ title: "Restore Dialog", code: "<NiceBackupRestoreDialog open={open} backup={backup} onConfirm={restore} />" }], r = { keyboard: ["Escape to close"], aria: ["Dialog role"] }, p = ["NiceConfirmDialog", "NiceBackupList"], l = {
2
+ $schema: o,
3
+ name: e,
4
+ description: c,
5
+ category: a,
6
+ since: t,
7
+ status: s,
8
+ props: n,
9
+ examples: i,
10
+ accessibility: r,
11
+ seeAlso: p
12
+ };
13
+ export {
14
+ o as $schema,
15
+ r as accessibility,
16
+ a as category,
17
+ l as default,
18
+ c as description,
19
+ i as examples,
20
+ e as name,
21
+ n as props,
22
+ p as seeAlso,
23
+ t as since,
24
+ s as status
25
+ };
@@ -0,0 +1,31 @@
1
+ const e = "https://nice2dev.com/schemas/component-doc-v1.json", c = "NiceBackupScheduler", n = "Backup scheduler with cron-like scheduling and retention policies.", t = "backup", s = "1.0.0", o = "stable", i = [{ name: "schedule", type: "BackupSchedule", description: "Current schedule" }, { name: "onChange", type: "(schedule: BackupSchedule) => void", description: "Change callback" }, { name: "retention", type: "RetentionPolicy", description: "Retention policy" }, { name: "presets", type: "SchedulePreset[]", description: "Schedule presets" }, { name: "timezone", type: "string", description: "Schedule timezone" }], a = [{ title: "Backup Scheduler", description: "Schedule backups", code: `<NiceBackupScheduler
2
+ schedule={backupSchedule}
3
+ onChange={setBackupSchedule}
4
+ retention={retentionPolicy}
5
+ onRetentionChange={setRetentionPolicy}
6
+ presets={schedulePresets}
7
+ />` }], d = { keyboard: ["Tab through fields"], aria: ["Schedule form", "Time selection"] }, l = ["NiceBackupTagEditor", "NiceScheduler"], u = {
8
+ $schema: e,
9
+ name: c,
10
+ description: n,
11
+ category: t,
12
+ since: s,
13
+ status: o,
14
+ props: i,
15
+ examples: a,
16
+ accessibility: d,
17
+ seeAlso: l
18
+ };
19
+ export {
20
+ e as $schema,
21
+ d as accessibility,
22
+ t as category,
23
+ u as default,
24
+ n as description,
25
+ a as examples,
26
+ c as name,
27
+ i as props,
28
+ l as seeAlso,
29
+ s as since,
30
+ o as status
31
+ };
@@ -0,0 +1,7 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",c="NiceBackupScheduler",t="Backup scheduler with cron-like scheduling and retention policies.",n="backup",s="1.0.0",o="stable",i=[{name:"schedule",type:"BackupSchedule",description:"Current schedule"},{name:"onChange",type:"(schedule: BackupSchedule) => void",description:"Change callback"},{name:"retention",type:"RetentionPolicy",description:"Retention policy"},{name:"presets",type:"SchedulePreset[]",description:"Schedule presets"},{name:"timezone",type:"string",description:"Schedule timezone"}],a=[{title:"Backup Scheduler",description:"Schedule backups",code:`<NiceBackupScheduler
2
+ schedule={backupSchedule}
3
+ onChange={setBackupSchedule}
4
+ retention={retentionPolicy}
5
+ onRetentionChange={setRetentionPolicy}
6
+ presets={schedulePresets}
7
+ />`}],l={keyboard:["Tab through fields"],aria:["Schedule form","Time selection"]},d=["NiceBackupTagEditor","NiceScheduler"],u={$schema:e,name:c,description:t,category:n,since:s,status:o,props:i,examples:a,accessibility:l,seeAlso:d};exports.$schema=e;exports.accessibility=l;exports.category=n;exports.default=u;exports.description=t;exports.examples=a;exports.name=c;exports.props=i;exports.seeAlso=d;exports.since=s;exports.status=o;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",s="NiceBackupStatusBadge",t="Backup status indicator badge.",c="display",a="1.0.0",n="stable",o=[{name:"status",type:"'synced' | 'pending' | 'error' | 'syncing'",required:!0,description:"Backup status"}],i=[{title:"Status Badge",code:'<NiceBackupStatusBadge status="synced" lastBackup={new Date()} />'}],u={keyboard:[],aria:["Status announcement"]},d=["NiceBadge"],p={$schema:e,name:s,description:t,category:c,since:a,status:n,props:o,examples:i,accessibility:u,seeAlso:d};exports.$schema=e;exports.accessibility=u;exports.category=c;exports.default=p;exports.description=t;exports.examples=i;exports.name=s;exports.props=o;exports.seeAlso=d;exports.since=a;exports.status=n;
@@ -0,0 +1,25 @@
1
+ const t = "https://nice2dev.com/schemas/component-doc-v1.json", s = "NiceBackupStatusBadge", e = "Backup status indicator badge.", a = "display", c = "1.0.0", n = "stable", o = [{ name: "status", type: "'synced' | 'pending' | 'error' | 'syncing'", required: !0, description: "Backup status" }], i = [{ title: "Status Badge", code: '<NiceBackupStatusBadge status="synced" lastBackup={new Date()} />' }], d = { keyboard: [], aria: ["Status announcement"] }, u = ["NiceBadge"], p = {
2
+ $schema: t,
3
+ name: s,
4
+ description: e,
5
+ category: a,
6
+ since: c,
7
+ status: n,
8
+ props: o,
9
+ examples: i,
10
+ accessibility: d,
11
+ seeAlso: u
12
+ };
13
+ export {
14
+ t as $schema,
15
+ d as accessibility,
16
+ a as category,
17
+ p as default,
18
+ e as description,
19
+ i as examples,
20
+ s as name,
21
+ o as props,
22
+ u as seeAlso,
23
+ c as since,
24
+ n as status
25
+ };
@@ -0,0 +1,7 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",a="NiceBackupTagEditor",t="Tag editor for backup labeling and categorization.",s="backup",n="1.0.0",o="stable",c=[{name:"tags",type:"string[]",description:"Current tags"},{name:"onChange",type:"(tags: string[]) => void",description:"Change callback"},{name:"suggestions",type:"string[]",description:"Tag suggestions"},{name:"maxTags",type:"number",description:"Maximum tags allowed"},{name:"placeholder",type:"string",description:"Input placeholder"},{name:"disabled",type:"boolean",default:"false",description:"Disable editing"}],i=[{title:"Backup Tag Editor",description:"Tag backups",code:`<NiceBackupTagEditor
2
+ tags={backupTags}
3
+ onChange={setBackupTags}
4
+ suggestions={commonTags}
5
+ maxTags={10}
6
+ allowCreate
7
+ />`}],g={keyboard:["Tab to navigate","Enter to add tag"],aria:["Tag list","Tag removal buttons"]},r=["NiceBackupScheduler","NiceTagInput"],p={$schema:e,name:a,description:t,category:s,since:n,status:o,props:c,examples:i,accessibility:g,seeAlso:r};exports.$schema=e;exports.accessibility=g;exports.category=s;exports.default=p;exports.description=t;exports.examples=i;exports.name=a;exports.props=c;exports.seeAlso=r;exports.since=n;exports.status=o;
@@ -0,0 +1,31 @@
1
+ const a = "https://nice2dev.com/schemas/component-doc-v1.json", e = "NiceBackupTagEditor", t = "Tag editor for backup labeling and categorization.", s = "backup", n = "1.0.0", o = "stable", c = [{ name: "tags", type: "string[]", description: "Current tags" }, { name: "onChange", type: "(tags: string[]) => void", description: "Change callback" }, { name: "suggestions", type: "string[]", description: "Tag suggestions" }, { name: "maxTags", type: "number", description: "Maximum tags allowed" }, { name: "placeholder", type: "string", description: "Input placeholder" }, { name: "disabled", type: "boolean", default: "false", description: "Disable editing" }], i = [{ title: "Backup Tag Editor", description: "Tag backups", code: `<NiceBackupTagEditor
2
+ tags={backupTags}
3
+ onChange={setBackupTags}
4
+ suggestions={commonTags}
5
+ maxTags={10}
6
+ allowCreate
7
+ />` }], g = { keyboard: ["Tab to navigate", "Enter to add tag"], aria: ["Tag list", "Tag removal buttons"] }, p = ["NiceBackupScheduler", "NiceTagInput"], r = {
8
+ $schema: a,
9
+ name: e,
10
+ description: t,
11
+ category: s,
12
+ since: n,
13
+ status: o,
14
+ props: c,
15
+ examples: i,
16
+ accessibility: g,
17
+ seeAlso: p
18
+ };
19
+ export {
20
+ a as $schema,
21
+ g as accessibility,
22
+ s as category,
23
+ r as default,
24
+ t as description,
25
+ i as examples,
26
+ e as name,
27
+ c as props,
28
+ p as seeAlso,
29
+ n as since,
30
+ o as status
31
+ };
@@ -0,0 +1,8 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",t="NiceBottomSheet",n="Bottom sheet with snap points and drag-to-dismiss.",o="mobile",s="1.0.0",a="stable",i=[{name:"open",type:"boolean",required:!0,description:"Open state"},{name:"onOpenChange",type:"(open: boolean) => void",required:!0,description:"Open change callback"},{name:"children",type:"React.ReactNode",required:!0,description:"Sheet content"},{name:"snapPoints",type:"number[]",default:"[0.5, 1]",description:"Snap points (0-1)"},{name:"initialSnap",type:"number",default:"0",description:"Default snap point index"},{name:"onSnap",type:"(index: number) => void",description:"Snap callback"},{name:"showHandle",type:"boolean",default:"true",description:"Show drag handle"}],c=[{title:"Bottom Sheet",description:"Draggable sheet",code:`<NiceBottomSheet
2
+ open={sheetOpen}
3
+ onOpenChange={setSheetOpen}
4
+ snapPoints={[0.3, 0.7, 1]}
5
+ showHandle
6
+ >
7
+ <DetailPanel />
8
+ </NiceBottomSheet>`}],p={keyboard:["Tab within sheet","Escape to close"],aria:["Dialog role","Drag handle description"]},r=["NiceActionSheet","NiceDrawer"],d={$schema:e,name:t,description:n,category:o,since:s,status:a,props:i,examples:c,accessibility:p,seeAlso:r};exports.$schema=e;exports.accessibility=p;exports.category=o;exports.default=d;exports.description=n;exports.examples=c;exports.name=t;exports.props=i;exports.seeAlso=r;exports.since=s;exports.status=a;
@@ -0,0 +1,32 @@
1
+ const e = "https://nice2dev.com/schemas/component-doc-v1.json", t = "NiceBottomSheet", n = "Bottom sheet with snap points and drag-to-dismiss.", o = "mobile", a = "1.0.0", i = "stable", s = [{ name: "open", type: "boolean", required: !0, description: "Open state" }, { name: "onOpenChange", type: "(open: boolean) => void", required: !0, description: "Open change callback" }, { name: "children", type: "React.ReactNode", required: !0, description: "Sheet content" }, { name: "snapPoints", type: "number[]", default: "[0.5, 1]", description: "Snap points (0-1)" }, { name: "initialSnap", type: "number", default: "0", description: "Default snap point index" }, { name: "onSnap", type: "(index: number) => void", description: "Snap callback" }, { name: "showHandle", type: "boolean", default: "true", description: "Show drag handle" }], c = [{ title: "Bottom Sheet", description: "Draggable sheet", code: `<NiceBottomSheet
2
+ open={sheetOpen}
3
+ onOpenChange={setSheetOpen}
4
+ snapPoints={[0.3, 0.7, 1]}
5
+ showHandle
6
+ >
7
+ <DetailPanel />
8
+ </NiceBottomSheet>` }], p = { keyboard: ["Tab within sheet", "Escape to close"], aria: ["Dialog role", "Drag handle description"] }, d = ["NiceActionSheet", "NiceDrawer"], r = {
9
+ $schema: e,
10
+ name: t,
11
+ description: n,
12
+ category: o,
13
+ since: a,
14
+ status: i,
15
+ props: s,
16
+ examples: c,
17
+ accessibility: p,
18
+ seeAlso: d
19
+ };
20
+ export {
21
+ e as $schema,
22
+ p as accessibility,
23
+ o as category,
24
+ r as default,
25
+ n as description,
26
+ c as examples,
27
+ t as name,
28
+ s as props,
29
+ d as seeAlso,
30
+ a as since,
31
+ i as status
32
+ };
@@ -0,0 +1,6 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",n="NiceBranchManager",c="Git branch management panel with create, delete, checkout, and merge operations.",a="devops",t="1.0.7",r="stable",s=[{name:"branches",type:"GitBranch[]",required:!1,default:"[]",description:"List of branches"},{name:"currentBranch",type:"string",description:"Currently checked out branch"},{name:"onCheckout",type:"(branch: string) => Promise<void>",description:"Checkout branch callback"},{name:"onDelete",type:"(branch: string) => Promise<void>",description:"Delete branch callback"},{name:"onMerge",type:"(source: string, target: string) => Promise<void>",description:"Merge branch callback"}],o=[{title:"Branch Manager",description:"Manage Git branches",code:`<NiceBranchManager
2
+ branches={branches}
3
+ currentBranch="main"
4
+ onCheckout={handleCheckout}
5
+ onCreate={handleCreate}
6
+ />`}],i={role:"region",ariaLabel:"Git branch manager"},h=["NiceGitGraph","NiceMergeRequestBuilder"],l={$schema:e,name:n,description:c,category:a,since:t,status:r,props:s,examples:o,accessibility:i,seeAlso:h};exports.$schema=e;exports.accessibility=i;exports.category=a;exports.default=l;exports.description=c;exports.examples=o;exports.name=n;exports.props=s;exports.seeAlso=h;exports.since=t;exports.status=r;
@@ -0,0 +1,30 @@
1
+ const e = "https://nice2dev.com/schemas/component-doc-v1.json", n = "NiceBranchManager", c = "Git branch management panel with create, delete, checkout, and merge operations.", a = "devops", t = "1.0.7", r = "stable", o = [{ name: "branches", type: "GitBranch[]", required: !1, default: "[]", description: "List of branches" }, { name: "currentBranch", type: "string", description: "Currently checked out branch" }, { name: "onCheckout", type: "(branch: string) => Promise<void>", description: "Checkout branch callback" }, { name: "onDelete", type: "(branch: string) => Promise<void>", description: "Delete branch callback" }, { name: "onMerge", type: "(source: string, target: string) => Promise<void>", description: "Merge branch callback" }], s = [{ title: "Branch Manager", description: "Manage Git branches", code: `<NiceBranchManager
2
+ branches={branches}
3
+ currentBranch="main"
4
+ onCheckout={handleCheckout}
5
+ onCreate={handleCreate}
6
+ />` }], i = { role: "region", ariaLabel: "Git branch manager" }, h = ["NiceGitGraph", "NiceMergeRequestBuilder"], d = {
7
+ $schema: e,
8
+ name: n,
9
+ description: c,
10
+ category: a,
11
+ since: t,
12
+ status: r,
13
+ props: o,
14
+ examples: s,
15
+ accessibility: i,
16
+ seeAlso: h
17
+ };
18
+ export {
19
+ e as $schema,
20
+ i as accessibility,
21
+ a as category,
22
+ d as default,
23
+ c as description,
24
+ s as examples,
25
+ n as name,
26
+ o as props,
27
+ h as seeAlso,
28
+ t as since,
29
+ r as status
30
+ };
@@ -0,0 +1 @@
1
+ "use strict";const e=require("react/jsx-runtime"),i=require("@nice2dev/ui-core"),L=require("react"),W=Object.assign(L.forwardRef(({children:s,variant:$="primary",size:v="md",type:C="button",disabled:o,loading:n,fullWidth:k,onClick:S,leftIcon:r,rightIcon:c,error:l,errorPlacement:y="bottom",ariaLabel:w,className:z,style:B,id:p,accessMode:D,displayStyle:f,...q},O)=>{const a=i.normalizeVariant($),d=i.normalizeSize(v),b=i.useNiceAccessMode(D,p),h=b==="hidden";(b==="disabled"||b==="readOnly")&&(o=!0);const x=i.useComponentDisplayStyle("button",f),R=i.useComponentDisplayClass("button",f);let j=x;if(a!=="primary"){const t={...x};delete t.background,delete t.color,(a==="outline"||a==="ghost")&&(delete t.border,delete t.borderColor,delete t.borderWidth,delete t.borderStyle,delete t.boxShadow),j=t}const u=s!=null&&s!==!1&&!(typeof s=="string"&&s.trim()===""),N=!u&&!!(r||c),m=e.jsxs("button",{ref:O,type:C,id:p,className:`nice-btn nice-btn--${a} nice-btn--${d} nice-btn--ds-${R} ${N?"nice-btn--icon-only":""} ${k?"nice-btn--full-width":""} ${n?"nice-btn--loading":""} ${l&&!y?"nice-btn--has-error":""} ${z||""}`,style:{...j,...B},disabled:o||n,"aria-busy":n||void 0,"aria-disabled":o||n||void 0,"aria-label":w,onClick:S,...q,children:[n&&e.jsx("svg",{className:"nice-btn__spinner",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"3","aria-hidden":"true",children:e.jsx("circle",{cx:"12",cy:"12",r:"10",strokeDasharray:"31.4 31.4",strokeLinecap:"round"})}),!n&&r&&e.jsx("span",{className:"nice-btn__icon","aria-hidden":"true",children:r}),!n&&u&&e.jsx("span",{children:s}),n&&u&&e.jsx("span",{style:{visibility:"hidden"},"aria-hidden":"true",children:s}),n&&N&&e.jsx("span",{className:"nice-btn__icon",style:{visibility:"hidden"},"aria-hidden":"true",children:r||c}),!n&&c&&e.jsx("span",{className:"nice-btn__icon","aria-hidden":"true",children:c})]});if(h)return null;if(!l)return m;const _=e.jsx("div",{className:"nice-field__error",role:"alert",children:l});return y==="right"?e.jsxs("span",{className:`nice-btn-field nice-btn-field--right nice-field--${d}`,children:[m,_]}):h?null:e.jsxs("span",{className:`nice-btn-field nice-btn-field--bottom nice-field--${d}`,children:[m,_]})}),{displayName:"NiceButton"});exports.NiceButton=W;
@@ -0,0 +1,88 @@
1
+ import { jsxs as m, jsx as t } from "react/jsx-runtime";
2
+ import { normalizeVariant as A, normalizeSize as E, useNiceAccessMode as H, useComponentDisplayStyle as M, useComponentDisplayClass as R } from "@nice2dev/ui-core";
3
+ import { forwardRef as V } from "react";
4
+ const J = /* @__PURE__ */ Object.assign(
5
+ /* @__PURE__ */ V(
6
+ ({
7
+ children: i,
8
+ variant: x = "primary",
9
+ size: C = "md",
10
+ type: k = "button",
11
+ disabled: o,
12
+ loading: e,
13
+ fullWidth: S,
14
+ onClick: w,
15
+ leftIcon: s,
16
+ rightIcon: r,
17
+ error: l,
18
+ errorPlacement: p = "bottom",
19
+ ariaLabel: z,
20
+ className: D,
21
+ style: j,
22
+ id: f,
23
+ accessMode: B,
24
+ displayStyle: y,
25
+ ...O
26
+ }, L) => {
27
+ const a = A(x), c = E(C), d = H(B, f), h = d === "hidden";
28
+ (d === "disabled" || d === "readOnly") && (o = !0);
29
+ const N = M("button", y), W = R("button", y);
30
+ let _ = N;
31
+ if (a !== "primary") {
32
+ const n = { ...N };
33
+ delete n.background, delete n.color, (a === "outline" || a === "ghost") && (delete n.border, delete n.borderColor, delete n.borderWidth, delete n.borderStyle, delete n.boxShadow), _ = n;
34
+ }
35
+ const b = i != null && i !== !1 && !(typeof i == "string" && i.trim() === ""), $ = !b && !!(s || r), u = /* @__PURE__ */ m(
36
+ "button",
37
+ {
38
+ ref: L,
39
+ type: k,
40
+ id: f,
41
+ className: `nice-btn nice-btn--${a} nice-btn--${c} nice-btn--ds-${W} ${$ ? "nice-btn--icon-only" : ""} ${S ? "nice-btn--full-width" : ""} ${e ? "nice-btn--loading" : ""} ${l && !p ? "nice-btn--has-error" : ""} ${D || ""}`,
42
+ style: { ..._, ...j },
43
+ disabled: o || e,
44
+ "aria-busy": e || void 0,
45
+ "aria-disabled": o || e || void 0,
46
+ "aria-label": z,
47
+ onClick: w,
48
+ ...O,
49
+ children: [
50
+ e && /* @__PURE__ */ t(
51
+ "svg",
52
+ {
53
+ className: "nice-btn__spinner",
54
+ viewBox: "0 0 24 24",
55
+ fill: "none",
56
+ stroke: "currentColor",
57
+ strokeWidth: "3",
58
+ "aria-hidden": "true",
59
+ children: /* @__PURE__ */ t("circle", { cx: "12", cy: "12", r: "10", strokeDasharray: "31.4 31.4", strokeLinecap: "round" })
60
+ }
61
+ ),
62
+ !e && s && /* @__PURE__ */ t("span", { className: "nice-btn__icon", "aria-hidden": "true", children: s }),
63
+ !e && b && /* @__PURE__ */ t("span", { children: i }),
64
+ e && b && /* @__PURE__ */ t("span", { style: { visibility: "hidden" }, "aria-hidden": "true", children: i }),
65
+ e && $ && /* @__PURE__ */ t("span", { className: "nice-btn__icon", style: { visibility: "hidden" }, "aria-hidden": "true", children: s || r }),
66
+ !e && r && /* @__PURE__ */ t("span", { className: "nice-btn__icon", "aria-hidden": "true", children: r })
67
+ ]
68
+ }
69
+ );
70
+ if (h)
71
+ return null;
72
+ if (!l)
73
+ return u;
74
+ const v = /* @__PURE__ */ t("div", { className: "nice-field__error", role: "alert", children: l });
75
+ return p === "right" ? /* @__PURE__ */ m("span", { className: `nice-btn-field nice-btn-field--right nice-field--${c}`, children: [
76
+ u,
77
+ v
78
+ ] }) : h ? null : /* @__PURE__ */ m("span", { className: `nice-btn-field nice-btn-field--bottom nice-field--${c}`, children: [
79
+ u,
80
+ v
81
+ ] });
82
+ }
83
+ ),
84
+ { displayName: "NiceButton" }
85
+ );
86
+ export {
87
+ J as N
88
+ };